// PathManager.h: interface for the PathManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PATHMANAGER_H__913F9F52_9C12_4F28_AF20_4330C6E6A208__INCLUDED_)
#define AFX_PATHMANAGER_H__913F9F52_9C12_4F28_AF20_4330C6E6A208__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define MainIndex "MainInfoIndex"

class DllExport PathManager  
{
private:
	PathManager();
public:
	virtual ~PathManager();

public:
	static PathManager* Instance();

	void SetEquipSource(const StdString& strPath);
	
	
	StdString GetMainIndex() const
	{
		return MainIndex;
	}

	StdString GetEquipSource() const
	{
		return m_strEquipSource;
	}
	
	StdString GetSystemPath()
	{
		ReadRegInfo();
		return m_strInstallPath;
	}

	

private:
	void ReadRegInfo();

private:
	StdString m_strInstallPath;
	StdString m_strEquipSource;

};

#endif // !defined(AFX_PATHMANAGER_H__913F9F52_9C12_4F28_AF20_4330C6E6A208__INCLUDED_)
